*{
    padding: 0;
    margin: 0;
}
.mains{
    width: 1200px;
    margin: 0 auto;
    min-height: 90vh;
    padding-top: 10px;
    box-sizing: border-box;
    .rank{
        overflow: hidden;
        margin-bottom: 40px;
        display: flex;
        justify-content: space-between;
        .leftbar{
            width: 240px;
            .female{
                margin-bottom: 30px;
                background: #fff;
                p {
                    line-height: 50px;
                    text-align: center;
                    border-bottom: 1px solid #f2f2f2;
                    border-right: 4px solid #fff;
                    height: 50px;
                    font-size: 14px;
                    cursor: pointer;
                    &:first-child {
                        font-size: 16px;
                        background:url('') 55px center no-repeat;
            
                    }
                
                
                    }
                .on{
                    border-color: #b388ff;
                    color: #b388ff !important;
                    border-bottom-color: #f2f2f2 !important;
                }
            }
            .male {
                margin-bottom: 30px;
                background: #fff;

                p {
                    line-height: 50px;
                    text-align: center;
                    border-bottom: 1px solid #f2f2f2;
                    border-right: 4px solid #fff;
                    height: 50px;
                    font-size: 14px;
                    cursor: pointer;
                    &:first-child {
                        font-size: 16px;
                        background: url('') 55px center no-repeat;

                    }


                }

                .on {
                    border-color: #b388ff;
                    color: #b388ff !important;
                    border-bottom-color: #f2f2f2 !important;
                }
            }
        }
        .right-main{
            width: 950px;
            background: #fff;
            padding-bottom: 30px;
            display: flex;
            .rightbar{
                display:none;
                flex-wrap: wrap;
            }
            .allbank {
                float: left;
                margin: 18px 0 0px 18px;
                position: relative;
                width: 290px;
                height: 520px;
                background: #fff;
                border: 1px solid #f7f7f7;
                box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
                .listtab3 {
                    overflow: hidden;
                    background: #fff;
                    width: 100%;
                    height: 100%;
                    position: relative;
                    .listtitle {
                        overflow: hidden;
                        background: #fff;
                        .mod-title {
                            margin-left: 20px;
                            height: 48px;
                            line-height: 48px;
                            background: #fff;
                            border-bottom: 1px solid #f2f2f2;
                            .title-bd {
                                position: relative;
                                padding-left: 0;
                                border-bottom: none;
                            }
                        }
                    }
                    .tab-ul{
                        list-style: none;
                        position: absolute;
                        right: 16px;
                        top: 14px;
                        display: flex;
                        li{
                        cursor: pointer;
                        font-size: 14px;
                        margin-left: 6px;
                        text-align: center;
                        position: relative;
                        }
                        .on{
                            color: #b388ff !important;
                            &::after{
                                position: absolute;
                                content: '';
                                left: 1px;
                                bottom: -3px;
                                height: 2px;
                                width: 10px;
                                border-bottom: 2px solid transparent;
                                border-color: #b388ff;
                            }
                        }
                    }
                    .con{          
                        clear: both;
                        .rank-1{
                         margin-left: 20px;
                        font-size: 0;
                        .top{
                            clear: both;
                            margin-top: 15px;
                            overflow: hidden;
                            position: relative;
                            .num{
                                background-color: #b388ff !important;
                                position: absolute;
                                top: 50%;
                                margin-top: -10px;
                                    width: 20px;
                                height: 20px;
                                background: #999;
                                border-radius: 50%;
                                color: #fff;
                                text-align: center;
                                font-size: 12px;
                                float: left;
                                line-height: 18px;
                                }
                            .book-block {
                                margin-left: 40px;
                                overflow: hidden;
                                float: left;
                                width: 100%;
                                .first {
                                    float: left;
                                    img {
                                        width: 60px;
                                        overflow: hidden;
                                        border-radius: 5px;
                                    }
                                    a {
                                        text-decoration: none;
                                        font-size: 12px;
                                        color: #333;
                                        outline: 0;
                                    }
                                }
                                .two {
                                    float: left;
                                    margin-left: 13px;
                                    width: 50%;
                                    margin-top: 25px;
                                    a{
                                        display: block;
                                        color: #000;
                                        height: 18px;
                                        line-height: 18px;
                                        overflow: hidden;
                                        font-size: 14px;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                        text-decoration: none;
                                    }
                                    p {
                                        position: relative;
                                        font-size: 12px;
                                        color: #999;
                                        height: 18px;
                                        line-height: 18px;
                                        display: block;
                                        margin-top: 10px;
                                        span {
                                            width: 70%;
                                            display: inline-block;
                                            color: #999;
                                            position: absolute;
                                            overflow: hidden;
                                            text-overflow: ellipsis;
                                            white-space: nowrap;
                                        }
                                    }
                                }
                            }
                            }
                        .top1{
                            clear: both;
                            margin-top: 15px;
                            overflow: hidden;
                            .num{
                            background-color: gray;
                            width: 20px;
                            height: 20px;
                            background: #999;
                            border-radius: 50%;
                            color: #fff;
                            text-align: center;
                            font-size: 12px;
                            float: left;
                            line-height: 18px;
                            
                            }
                             &:nth-child(-n+3) span {
                                background-color: #b388ff; /* 前3名数字背景紫色 */
                            }
                            a{
                            display: inline-block;
                            margin-left: 20px;
                            font-size: 12px;
                            color: #4c4c4c;
                            height: 20px;
                            line-height: 20px;
                            overflow: hidden;
                            display: inline-block;
                            width: 180px;
                            white-space: nowrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            text-decoration: none;
                            }
                            }
                        }
                        .more{
                            position: absolute;
                            right: 18px;
                            bottom: 13px;
                            color: #999;
                            font-size: 12px;
                            text-decoration: none;
                        }
                    }
                }
            }
            .rightlist{
                // display: none;
                .menu {
                    padding-left: 20px;
                    height: 49px;
                    line-height: 49px;
                    border-bottom: 1px solid #f2f2f2;
                    font-size: 0;
                    .fl {
                        font-size: 18px;
                        margin-right: 18px;
                    }
                    .comment {
                        list-style: none;
            
                        li {
                            float: left;
                            margin-top: 6px;
                            margin-right: 15px;
                            width: 48px;
                            display: inline-block;
                            width: 48px;
                            height: 23px;
                            line-height: 23px;
                            border: 1px solid #ccc;
                            font-size: 14px;
                            color: #999;
                            text-align: center;
                            border-radius: 12px;
                            }
                            .actives {
                                border-color: #b388ff;
                                color: #b388ff !important;
                            }
                        }
                    }
                .bottom {
                    clear: both;
                    .defaultRank {
                        overflow: hidden;
                        margin-top: 5px;
                        position: relative;
                        .secd-rank-list {
                            position: relative;
                            padding-bottom: 17px;
                            box-sizing: border-box;
                            margin: 20px 25px;
                            overflow: hidden;
                            border-bottom: 1px solid #e6e6e6;
                            width: 900px;
                            &:nth-child(-n+3) .one {
                            background-color: #b388ff !important; /* 前3名数字背景紫色 */
                        }  
                            .app {
                                overflow: hidden;
                            }
                            .imgs {
                                float: left;
                                img {
                                    width: 110px;
                                    height: 150px;
                                    overflow: hidden;
                                }
                            }
                            .rightimg {
                                float: left;
                                margin: 10px 0 0 30px;
                                width: 560px;
                                .ones {
                                    font-size: 18px;
                                    font-weight: 700;
                                    line-height: 20px;
                                    text-decoration: none;
                                    color: #333;
                                    outline: 0;
                                    .one {
                                        background-color: gray;
                                        color: #fff;
                                        width: 20px;
                                        height: 20px;
                                        background: #999;
                                        border-radius: 50%;
                                        text-align: center;
                                        font-size: 12px;
                                        display: inline-block;
                                        margin-right: 10px;
                                    }
                                }
                                p {
                                    margin-top: 10px;
                                    color: #999;
                                    font-size: 12px;
                                    span {
                                        color: #999;
                                        display: inline-block;
                                    }
                                    .nums {
                                        display: inline-block;
                                        margin-left: 50px;
                                        color: #999;
                                        font-size: 12px;
                                    }
                                }
                                .info {
                                    height: 40px;
                                    line-height: 21px;
                                    overflow: hidden;
                                    margin-top: 10px;
                                    color: #999;
                                    font-size: 12px;
                                }
                                .red {
                                    margin-top: 10px;
                                    color: #999;
                                    font-size: 12px;
                                    a {
                                        color: #b388ff !important;
                                        text-decoration: none;
                                        margin-right: 15px;
                                        font-size: 12px;
                                    }
                                    span {
                                        color: #999;
                                        font-size: 12px;
                                    }
                                }
                            }
                            .bigbutton {
                                position: absolute;
                                right: 0;
                                top: 43px;
                                .detailbutton {
                                    text-decoration: none;
                                    background-color: #b388ff !important;
                                    border-color: #b388ff;
                                    margin: 10px 0;
                                    width: 98px;
                                    height: 34px;
                                    line-height: 34px;
                                    display: block;
                                    text-align: center;
                                    font-size: 16px;
                                    border-radius: 5px;
                                    color: #fff;
                                    border: 1px solid transparent;
                                }
                                .add {
                                    text-decoration: none;
                                    margin: 10px 0;
                                    width: 98px;
                                    height: 34px;
                                    line-height: 34px;
                                    display: block;
                                    text-align: center;
                                    font-size: 16px;
                                    border-radius: 5px;
                                    color: #333;
                                    border: 1px solid #ccc;
                                }
                            }
                            
                        }
                    }

                }
            }
        }
    }
}
 h2{
    height: 48px;
    line-height: 48px;
    display: inline-block;
    font-size: 18px;
    color: #333;
    font-weight: 400 !important;
    margin-left: 20px;
}